//定义主题色
@theme-color: #5d8b49;
//定义点缀色
@adorn-color: #ffa11e;
//边框色
@tborder-color: #e4e9e2;
//
@bg-color: #eaf6eb;

//左浮动
.fl(@type){
    float: @type;
}
//动作
.trandtion-ease(@time: .2s){
    transition: all ease-in-out @time;
    -webkit-transition: all ease-in-out @time;
    -ms-transition: all ease-in-out @time;
}

//build leftmenu
@leftnav-conwidth: 199px;
.build-nav-titile{
   *{
     font-size: 20px!important;
   }
   a{
    display: block;
    width:@leftnav-conwidth;
   }
   i{
    color: @adorn-color!important;
    margin-left: 20px!important;
    .trandtion-ease();
    &.turn{
        transform:rotate(180deg);
        -ms-transform:rotate(180deg);
        -moz-transform:rotate(180deg);
        -webkit-transform:rotate(180deg);
        -o-transform:rotate(180deg);
    }
   }
}

.build-search-down{
    width: 100%;
    position: absolute;
    left: 0;
    top: 51px;
    background-color: #fff;
    z-index: 999;
    overflow: hidden;
    display: none;
}
.build-search-bar{
    text-align: center;
    background-color: @bg-color;
    width: @leftnav-conwidth;
    input{
        width: 180px;
        height: 32px;
        line-height: 32px;
        border: solid 1px #cacaca;
        background-color: #fff;
        border-radius: 2px;
        margin: 8px auto ;
        text-indent: 8px;
        .trandtion-ease();
        &:focus{
            border-color: @theme-color;
        }
    }
}
.build-search-result{
    width: @leftnav-conwidth;
    border-top:  solid 1px #cacaca;
    border-bottom:  solid 1px #cacaca;
    background-color: #fff;
    padding: 5px 0;
    .build-search-item{
        .addtab-active{
            display: block;
            padding: 5px 12px;
            color: #333;
            .trandtion-ease();
            &:hover{
                background-color: #e0e0e0;
            }
        }
    }
}
.build-leftmenu{
    width: 100%;

}
.build-scrollbox{
    height: 100%;
    width: 100%;
}
.build-leftmenu{
    height: 100%;
    box-sizing: border-box;
    padding-top: 1px;
}
.build-leftmenu-item{
    .build-leftmenu-list{
        position: relative;
        float: left;
        width: @leftnav-conwidth;
        &:before{
            content: "";
            display: block;
            width: 600%;
            height: 0;
        }
        &:hover{
           
            .build-firmenu{
                background-color: @theme-color;
                color: #fff;
                &:before{
                    left: 0;
                }
            }
        }
    }
    .build-firmenu{
        height: 45px;
        line-height: 45px;
        position: relative;
        border-bottom: solid 1px #cacaca;
        cursor: pointer;
        color: #2d4112;
        .trandtion-ease();
        &:before{
            display: block;
            content: "";
            height: 100%;
            width: 3px;
            background-color: @adorn-color;
            position: absolute;
            top: 0;
            left: -3px;
            .trandtion-ease();
        }
        i{
            margin-left: 20px;
        }
        span{
            margin-left: 10px;
        }
    }
    .build-submenu{
        position: absolute;
        top: 0;
        left: 199px;
        right: auto;
        display: none;
    }
    .build-secmenu{
        margin-left: 3px; 
        background-color: #fff;
        border: solid 1px #cacaca;
        border-radius: 2px;
        box-shadow: 0 2px 3px rgba(0, 0, 0, .1);
        padding: 24px 16px;
        color: #333;
        white-space: nowrap;
        overflow: hidden;
        display: table;
        .trandtion-ease();
        >li{
            padding: 0 20px;
            line-height: 30px;
            
            >a{
                display: block;
                &:hover{
                    color: @theme-color;
                }
            }
        }
        &.build-has-thirmenu{
            >li{
                display: table-cell;
                border-right: solid #eef1f9 1px;
                &:last-child{
                    border-right: none;
                }
                >a{
                    color: #999;
                    .trandtion-ease();
                    &:hover{
                        color: #999;
                    }
                }
            }
        }
        .build-thirmenu{
            a{
                .trandtion-ease();
                &:hover{
                    color: @theme-color;
                }
            }
        }
    }
    .build-thirmenu-list{
        display: none;
        >a{.trandtion-ease();
            &:hover{
                color: @theme-color;
            }
        }
    }
}







